/*****************************************************************
ELDATool
Copyright (C) 2012 G. Fortino

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation;
version 2.1 of the License.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
*****************************************************************/

package eldaframework.eldaevent.management.lifecycle;


import java.io.Serializable;
import java.util.Vector;

import eldaframework.agent.ELDAId;

public abstract class  ELDAEventCreateNotify extends ELDAEventLifecycle implements Serializable{

 	/**
 	 * Name of created Agents
 	 */ 
 	//private Vector<ELDAId> ceids=new Vector<ELDAId>();
	private Vector ceids=new Vector();

// 	public ELDAEventCreateNotify(ELDAId source, ELDAId target, Vector<ELDAId> ceids){
 	public ELDAEventCreateNotify(ELDAId source, ELDAId target, Vector ceids){
		super(source, target);
		setIn();
		this.ceids=ceids;
	}

 	public ELDAEventCreateNotify(ELDAId target){
		super(target, target);
		setIn();
	}

 	//public Vector<ELDAId> getCreatedELDAIds(){ return ceids; }
 	public Vector getCreatedELDAIds(){ return ceids; }
 	
 	//public void setCreatedELDAIds(Vector<ELDAId> cmids){ this.ceids=cmids; }
 	public void setCreatedELDAIds(Vector cmids){ this.ceids=cmids; }

}

